import OSS from 'ali-oss';

let client = null; // OSS Client 实例

// 初始化 oss client
export function initOssClient (options) {
  client = new OSS({
    ...options
  });
  return client;
}

export function checkOssClient () {
  return client;
}
